<?php
/**
 * Created by PhpStorm.
 * User: iamya
 * Date: 2017/11/27
 * Time: 10:37
 */

namespace app\common;


use think\Model;

class CustomerModel extends Model
{
    protected $name = 'customer'; //定义用户表
    //开启自动写入时间戳
    protected $autoWriteTimestamp = true;
    // 定义自动完成的属性
    protected $auto = []; //新增修改
    protected $insert = []; //插入
    protected $update = []; //修改
}